page.tsx 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import Link from "next/link";
  2. import { getI18n } from "locales/server";
  3. import { paths } from "@/shared/constants/paths";
  4. import { SignUpForm } from "@/features/auth/signup/ui/signup-form";
  5. export const metadata = {
  6. title: "Sign Up - Workout.cool",
  7. description: "Créez votre compte pour commencer",
  8. };
  9. export default async function AuthSignUpPage() {
  10. const t = await getI18n();
  11. return (
  12. <div className="container mx-auto max-w-lg px-4 py-8">
  13. <div className="mb-8 space-y-2">
  14. <h1 className="text-3xl font-bold tracking-tight">{t("register_title")}</h1>
  15. <p className="text-muted-foreground">{t("register_description")}</p>
  16. </div>
  17. <SignUpForm />
  18. <div className="text-muted-foreground mt-6 text-center text-sm">
  19. <p>
  20. {t("register_terms")}{" "}
  21. <Link className="font-medium text-primary underline-offset-4 hover:underline" href={paths.privacy}>
  22. {t("register_privacy")}
  23. </Link>{" "}
  24. .
  25. </p>
  26. </div>
  27. </div>
  28. );
  29. }